package me.yuzho.study.concurrency.java8;

/**
 * @author yzhou-citrix
 *
 */
public class Case1 {

    public static void main(String[] args) {
        
        
        //Class<Case1> c = Case1.class;
        
        
        Runnable task = () -> {
            String threadName = Thread.currentThread().getName();
            System.out.println("Hello " + threadName);
        };
        
        task.run();
        
        Thread thread = new Thread(task);
        thread.start();
        
        System.out.println("Done");

    }

}
